﻿
namespace Ledict.ConditionExtract.Common
{
    /// <summary>
    /// 查询条件类
    /// </summary>
    public class DataSourceCondition
    {
        /// <summary>
        /// 案由ID
        /// </summary>
        public string HeadwordId { get; set; }

        /// <summary>
        /// 裁决程序
        /// </summary>
        public string JudicialProcedureId { get; set; }

        /// <summary>
        /// 案例性质
        /// </summary>
        public string PropertyId { get; set; }

        /// <summary>
        /// caseId开始范围
        /// </summary>
        public string CaseIdStart { get; set; }

        /// <summary>
        /// caseId结束范围
        /// </summary>
        public string CaseIdEnd { get; set; }

        /// <summary>
        /// 审理法院
        /// </summary>
        public string Court { get; set; }

        /// <summary>
        /// 逻辑段
        /// </summary>
        public string ParagraphType { get; set; }


        public string ParagraphkeyWord { get; set; }

        public string Category { get; set; }

        /// <summary>
        /// 处理节点
        /// </summary>
        public string SituationId { get; set; }

        /// <summary>
        /// 处理节点的名称
        /// </summary>
        public string SituationName { get; set; }

        /// <summary>
        /// 处理节点是否包含本节点(如果不包含，则只处理子节点以下)
        /// </summary>
        public bool IsHasOwnNode { get; set; }

        /// <summary>
        /// 每次查询个数
        /// </summary>
        public int SearchPerSize { get; set; }


        #region 民事特殊部分  目前在徐仁娜基础上只能继续修改DataSourceCondition，建议后期开发人员把民事，刑事等各业务的查询分开，利于扩展和维护
        /// <summary>
        /// 处理的用途ID
        /// </summary>
        public string OperatePurposeId { get; set; }

        /// <summary>
        /// 处理的逻辑段ID
        /// </summary>
        public string OperateParagraphId { get; set; }
        #endregion
        
    }

    
}
